Keycloak REST Services 1.2.0.Final

Path: / admin / realms / {realm} / clients-by-id / {app-name} / session-count

Number of user sessions associated with this client { "count": number }

Path parameters:
realm - realm name (not id!)
app-name -

Resource Methods
Method Summary
NameDescription
GET /admin/realms/{realm}/clients-by-id/{app-name}/session-countNumber of user sessions associated with this client { "count": number }

Method Detail

GET /admin/realms/{realm}/clients-by-id/{app-name}/session-count

Number of user sessions associated with this client { "count": number }

HTTP Example:
GET /admin/realms/{realm}/clients-by-id/{app-name}/session-count
API Example:

ClientResource.getApplicationSessionCount({'realm': /* name realm name (not id!) */,
  'app-name': /* name */});

Output:
Map<String,Integer> -
Produces:
application/json

Keycloak REST Services 1.2.0.Final